package com.k8sops.backend.entity;

import com.k8sops.backend.common.DOSModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Role entity
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Role extends DOSModel {

    /**
     * Role name
     */
    private String roleName;

    /**
     * Role level
     */
    private Integer roleLevel;

    /**
     * Role code
     */
    private String roleCode;

    /**
     * Remark
     */
    private String remark;

    /**
     * Whether the role can be operated (modified or deleted)
     */
    private Boolean isOperation;
}
